package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.system.domain.Channel;

/**
 * 每日需求，每个渠道的每个游戏的每日新增、付费和留存要求表 demands
 * 
 * @author ruoyi
 * @date 2019-05-28
 */
public class Demands extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 编号 */
	private Integer id;
	/** 渠道编号 */
	private Integer channelId;
	/** 状态(0开始1完成2取消) */
	private Integer status;
	/** 新增数 */
	private Integer registerNum;
	/** 留存数 */
	private Integer loginNum;
	/** 付费数 */
	private Integer chargeNum;

	public Integer getStayDays() {
		return stayDays;
	}

	public void setStayDays(Integer stayDays) {
		this.stayDays = stayDays;
	}

	public Integer getChargeFee() {
		return chargeFee;
	}

	public void setChargeFee(Integer chargeFee) {
		this.chargeFee = chargeFee;
	}

	public String getStayRate() {
		return stayRate;
	}

	public void setStayRate(String stayRate) {
		this.stayRate = stayRate;
	}

	private Integer  stayDays;
	private Integer  chargeFee;
	private String   stayRate;

	public Channel getChannel() {
		if(channel == null)
			return  new Channel();
		return channel;
	}

	public void setChannel(Channel channel) {
		this.channel = channel;
	}

	private Channel channel;


	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setChannelId(Integer channelId) 
	{
		this.channelId = channelId;
	}

	public Integer getChannelId() 
	{
		return channelId;
	}
	public void setStatus(Integer status) 
	{
		this.status = status;
	}

	public Integer getStatus() 
	{
		return status;
	}
	public void setRegisterNum(Integer registerNum) 
	{
		this.registerNum = registerNum;
	}

	public Integer getRegisterNum() 
	{
		return registerNum;
	}
	public void setLoginNum(Integer loginNum) 
	{
		this.loginNum = loginNum;
	}

	public Integer getLoginNum() 
	{
		return loginNum;
	}
	public void setChargeNum(Integer chargeNum) 
	{
		this.chargeNum = chargeNum;
	}

	public Integer getChargeNum() 
	{
		return chargeNum;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("channelId", getChannelId())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("registerNum", getRegisterNum())
            .append("loginNum", getLoginNum())
            .append("chargeNum", getChargeNum())
            .toString();
    }
}
